package com.rf.richfitwheel.common;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@ApiModel(value = "入参baseParam对象", description = "")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Param implements Serializable {

    @TableField(exist=false)
    //第几页
    @ApiModelProperty(dataType = "int",  name = "pageNum", value = "当前页", required = true)
    private int pageNum;
    //每页多少条
    @TableField(exist=false)
    @ApiModelProperty(dataType = "int",  name = "pageSize", value = "每页条数", required = true)
    private int pageSize;
    //金额范围查询
    @TableField(exist=false)
    @ApiModelProperty(value = "金额范围")
    private List<BigDecimal> amtList;
    //日期范围查询
    @TableField(exist=false)
    @ApiModelProperty(value = "时间范围")
    private List<String> dateList;

}
